<?
    session_start();//启用session
	header("Content-type:text/html;charset=utf-8");
	date_default_timezone_set('PRC'); //调整时区
    header("Content-type:text/html;charset=utf-8");
    if (!empty($_SESSION["time"])) {
        $this_2="layui-this";
        $show_2="layui-show";
        $do="info";
    }else{
        $this_2="layui-hide";
        $this_3="layui-hide";
        $this_1="layui-this";
        $show_1="layui-show";
        $do="login";
    }

    include __DIR__."/main.php";
    include __DIR__."/config.php";
    if($switch==false){
        echo '<html><style>html,body,iframe{width:100%;height:99.5%;padding:0;margin:0}#wrap{width:100%;height:100%}iframe{border:0}</style><div id="wrap"><iframe src="/tips.php?context=系统已关闭，详情请联系QQ2135820046"></iframe></div></html>';
    }else{
        include __DIR__."/index1.html";
    }
?>